import numpy as np
import pandas as pd
import os


def data_read_csv():
       path = '生物医学语音数据.csv'
       data = pd.read_csv(path, sep=',')
       data = data.drop(['name'], axis=1)

       train_x=data[['PPE','spread1','spread2','MDVP:Shimmer','MDVP:APQ','Shimmer:APQ5','MDVP:Shimmer(dB)',
                       'Shimmer:APQ3','Shimmer:DDA','D2']].values
       train_y=data['status'].values
       print(train_x[0])
       # # print(train_x.shape)
       # # print(train_y.shape)
       return train_x,train_y
data_read_csv()
